package com.bjpowernode.boss.mvc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bjpowernode.boss.mvc.models.dic.DicItem;
import com.bjpowernode.boss.mvc.models.query.PayProductConfigQuery;
import com.bjpowernode.boss.persist.domain.PayProduct;
import com.bjpowernode.boss.persist.domain.PayWay;

import java.util.List;

public interface PaymentService {

    Page<PayProduct> loadPage(Integer pageNo);

    List<DicItem> getAllProduct();

    List<DicItem> getAllWay();

    List<DicItem> getPayTypeList(String payWayCode);

    void addPayWay(PayProductConfigQuery payProductConfigQuery);

    Page<PayWay> loadPayWayList(Integer pageNo, String productCode);

    void removePayWay(String id);

    List<PayProduct> matchProductName(String productName);
}
